/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ep.persistence.entities;

import com.vaadin.data.util.BeanItem;
import java.util.Collection;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Spyros
 */
@XmlRootElement
public class SavePrescriptionBean {

    T002Doctor doctor;
    T005Patient patient;
    T006Prescription prescription;
    Collection dosages;
    boolean repeat;

    public SavePrescriptionBean() {
    }

    public SavePrescriptionBean(T002Doctor doctor, T005Patient patient, T006Prescription prescription, Collection dosages, boolean repeat) {
        this.doctor = doctor;
        this.patient = patient;
        this.prescription = prescription;
        this.dosages = dosages;
        this.repeat = repeat;
    }
    
    public T002Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(T002Doctor doctor) {
        this.doctor = doctor;
    }

    public T005Patient getPatient() {
        return patient;
    }

    public void setPatient(T005Patient patient) {
        this.patient = patient;
    }

    public T006Prescription getPrescription() {
        return prescription;
    }

    public void setPrescription(T006Prescription prescription) {
        this.prescription = prescription;
    }

    public Collection getDosages() {
        return dosages;
    }

    public void setDosages(Collection dosages) {
        this.dosages = dosages;
    }

    public boolean isRepeat() {
        return repeat;
    }

    public void setRepeat(boolean repeat) {
        this.repeat = repeat;
    }
    
    
}
